package cn.hp.service.impl;

import cn.hp.entity.UserRole;
import cn.hp.mapper.UserRoleMapper;
import cn.hp.service.UserrRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserRoleServiceimpl implements UserrRoleService {
    @Resource
    private UserRoleMapper userRoleMapper;
    @Override
    public List<UserRole> selectUserRole(UserRole userRole) {
        return userRoleMapper.selectUserRoleList(userRole);
    }


}
